package top.xin1901.j2ecd.service;

import top.xin1901.j2ecd.beans.User;

import java.util.List;

/**
 * @author HeYunjia
 */
public interface UserService {
    User insertOne(User user);

    boolean deleteByPrimaryKey(Long userId);

    User updateByPrimaryKey(User user);

    List<User> selectAll();
    User selectOne(Long userId);

}
